package com.group.medical.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 医生详情表
 * @TableName tb_doctor_detail
 */
@TableName(value ="tb_doctor_detail")
@Data
public class DoctorDetail implements Serializable {
    /**
     * 详情ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 医生ID
     */
    @TableField(value = "doctor_id")
    private String doctorId;

    /**
     * 专业
     */
    @TableField(value = "major")
    private String major;

    /**
     * 介绍
     */
    @TableField(value = "introduce")
    private String introduce;

    /**
     * 价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}